<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    const jscript = document.createElement('script')
    jscript.src = 'http://localhost:5555/api/jsonp?callback=test'
    document.body.appendChild(jscript)

    function test (val) {
      console.log(val,'zy函数被调用了')
    }
  </script>
</body>
</html>